/*
* Copyright (C) 2017-2021
* All rights reserved, Designed By
* Copyright authorization contact 18814114118
*/
package com.shop.cereshop.app.controller.product;

import com.shop.cereshop.app.service.product.ProductAveragePriceService;
import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;


/**
 * <p>
 * 前端控制器
 * 商品均价统计表
 * </p>
 *
 * @author
 * @date 2025-07-29
 */
@Slf4j
@RestController
@RequestMapping("/productAveragePrice")
@Api(value = "ProductAveragePrice", tags = "商品均价统计表")
public class ProductAveragePriceController {
    @Resource
    private ProductAveragePriceService productAveragePriceService;


    @GetMapping("calculateProductAveragePrice")
    public void calculateProductAveragePrice()
    {
        productAveragePriceService.calculateProductAveragePrice();
    }

}
